#ifndef WORKERTHREAD_H
#define WORKERTHREAD_H

#include <QtGui>
#include "proto.h"
#include "gracesc.h"

class Proto;
class WorkerThread : public QThread{
	Q_OBJECT
	public:
		Proto* dialog;
		WorkerThread();
		void setDialog(Proto*);
		virtual void run();
		void stop();
		void initializeGraph();
	signals:
		void dashboardUpdated();
	private:
		bool done;
		int xmin,xmax,scroll;
};

#endif
